package com.activity.control;

import org.activiti.spring.ProcessEngineFactoryBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Test {
    
	@Autowired
	private ProcessEngineFactoryBean processEngineFactoryBean;
	
	@RequestMapping("/activiticonfiguration.do")
	public String test(Model model) {
		
		System.out.println(processEngineFactoryBean);
		System.out.println("12345");
		model.addAttribute("msg", "请求成功！"); 
		
		return "success";
	}
	
}
